.analysis-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: space-between;
}

.analysis-module {
    flex: 0 1 calc(50% - 10px);
    min-width: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.module-header {
    padding: 15px 20px;
    border-bottom: 1px solid #ebeef5;
    background-color: #f5f7fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.module-header h3 {
    margin: 0;
    font-size: 16px;
    color: #303133;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-content {
    padding: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.module-content img {
    max-width: 100%;
    max-height: 400px;
    display: none;
}

.module-content .loading {
    padding: 20px;
    text-align: center;
    color: #909399;
}

.module-content .error {
    padding: 20px;
    text-align: center;
    color: #f56c6c;
}

@media (max-width: 1200px) {
    .analysis-module {
        flex: 0 1 100%;
        min-width: 100%;
    }
}